package cn.yqn.org.mapper;

import cn.yqn.org.domain.Shop;
import cn.yqn.basic.mapper.BaseMapper;
import cn.yqn.org.domain.ShopDto;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yqn
 * @since 2022-07-24
 */
public interface ShopMapper extends BaseMapper<Shop> {
    /**
     * 验证注册是否重复
     * @param shop
     * @return
     */
    Shop getShopByMessage(Shop shop);

    // 查询店铺报表数据
    List<ShopDto> loadEcharts();
}
